package cn.wetcland.es.service;

import cn.wetcland.es.domain.EsStudent;
import cn.wetcland.es.dto.StudentAddDTO;
import cn.wetcland.es.dto.StudentDeleteDTO;
import cn.wetcland.es.dto.StudentLoginDTO;
import cn.wetcland.es.dto.StudentUpdateDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
* @author Wetcland
* @description 针对表【es_student】的数据库操作Service
* @createDate 2023-04-29 17:04:49
*/
public interface EsStudentService extends IService<EsStudent> {

    void addNewStudent(StudentAddDTO studentAddDTO);

    List<EsStudent> getAllStudent(Long classId);

    void updateStudent(StudentUpdateDTO studentUpdateDTO);

    void deleteStudent(StudentDeleteDTO studentDeleteDTO);

    void login(StudentLoginDTO loginDTO, HttpSession session);

}
